//network/baseUrl.js

// ================================================================设置网络请求根路径
let baseUrl = (function() {
	// 请求根路径
	let urlStr = 'https://vms.shunhewulian.com';
	if (process.env.NODE_ENV === 'development') {
		console.log('开发环境');
	} else {

	}
	return urlStr
})();
// ==================== 图片上传url==========
let uploadImgUrl = (function() {
	let urlStr = 'https://vms.shunhewulian.com/api/common/upload';
	if (process.env.NODE_ENV === 'development') {
		// urlStr = 'http://192.168.31/collect/';
	} else {
		// urlStr = 'http://192.168.31/collect/';
	}
	return urlStr
})();


// let url_qqt = 'http://8.142.173.106:8080/' // 全球通接口
let url_qqt = 'https://luguitms.shunhewulian.com/' // 全球通接口

export default {
	baseUrl,
	uploadImgUrl,
	url_qqt,
}